package com.trs.publish.repository;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.trs.publish.domain.Power;

@Mapper
public interface PowerRepository extends BaseRepository<Power> {
	
	List<Power> getAllPowers();
	
	List getRolesPowers(List list);

	List<Power> findPowers(Long roleId);

	List<Power> findPowersByRoles(List<String> roleNameList);

	List<Power> findByPower(Power power);

}